export default [
  {
    path: '/model',
    component: () => import('@/views/layout/AppLayout.vue'),
    redirect: '/model/overview',
    meta: { 
      title: '模型管理', 
      icon: 'Connection', // 设置模型管理的图标
      roles: ['admin', 'analyst']
    },
    children: [
      {
        path: 'overview',
        component: () => import('@/views/model/ModelOverviewView.vue'),
        name: 'ModelOverview',
        meta: { 
          title: '模型概览',
          icon: 'DataAnalysis'
        }
      },
      {
        path: 'training',
        component: () => import('@/views/model/ModelTrainingView.vue'),
        name: 'ModelTraining',
        meta: { 
          title: '模型训练',
          icon: 'Cpu'
        }
      },
      {
        path: 'evaluation',
        component: () => import('@/views/model/ModelEvaluationView.vue'),
        name: 'ModelEvaluation',
        meta: { 
          title: '模型评估',
          icon: 'DataLine'
        }
      }
    ]
  }
] 